package com.haoze.common.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Timestamp;

@Table(name = "IDR.ORDERS_FILE_INDEX")
public class OrdersFileIndexEntity {

	@Id
	@Column(name = "EMR_FILE_ID")
	private String emrFileId;

	@Column(name = "DATA_VERSION")
	private Integer dataVersion;

	@Column(name = "GMT_CREATE")
	private Timestamp gmtCreate;

	@Column(name = "GMT_MODIFY")
	private Timestamp gmtModify;

	@Column(name = "HOSPITAL_ID")
	private String hospitalId;

	@Column(name = "OUTPAT_NUM")
	private String outpatNum;

	@Column(name = "INPAT_NUM")
	private String inpatNum;

	@Column(name = "EMR_FILE_NAME")
	private String emrFileName;

	@Column(name = "DEPT_ID")
	private String deptId; // 病区id

	@Column(name = "WARD_DEPT_ID")
	private String wardDeptId; // 病区id

	@Column(name = "DOCTOR_ID")
	private String doctorId;

	@Column(name = "TPL_ID")
	private String tplId;

	@Column(name = "DEL_FLAG")
	private String delFlag;

	@Column(name = "DELETE_USER_ID")
	private String deleteUserId;//删除人id

	@Column(name = "NURSE_ID")
	private String nurseId;//创建护士

	public String getNurseId() {
		return nurseId;
	}

	public void setNurseId(String nurseId) {
		this.nurseId = nurseId;
	}

	public String getEmrFileId() {
		return emrFileId;
	}

	public void setEmrFileId(String emrFileId) {
		this.emrFileId = emrFileId;
	}

	public Integer getDataVersion() {
		return dataVersion;
	}

	public void setDataVersion(Integer dataVersion) {
		this.dataVersion = dataVersion;
	}

	public Timestamp getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Timestamp gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Timestamp getGmtModify() {
		return gmtModify;
	}

	public void setGmtModify(Timestamp gmtModify) {
		this.gmtModify = gmtModify;
	}

	public String getHospitalId() {
		return hospitalId;
	}

	public void setHospitalId(String hospitalId) {
		this.hospitalId = hospitalId;
	}

	public String getOutpatNum() {
		return outpatNum;
	}

	public void setOutpatNum(String outpatNum) {
		this.outpatNum = outpatNum;
	}

	public String getInpatNum() {
		return inpatNum;
	}

	public void setInpatNum(String inpatNum) {
		this.inpatNum = inpatNum;
	}

	public String getEmrFileName() {
		return emrFileName;
	}

	public void setEmrFileName(String emrFileName) {
		this.emrFileName = emrFileName;
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public String getWardDeptId() {
		return wardDeptId;
	}

	public void setWardDeptId(String wardDeptId) {
		this.wardDeptId = wardDeptId;
	}

	public String getDoctorId() {
		return doctorId;
	}

	public void setDoctorId(String doctorId) {
		this.doctorId = doctorId;
	}

	public String getTplId() {
		return tplId;
	}

	public void setTplId(String tplId) {
		this.tplId = tplId;
	}

	public String getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

	public String getDeleteUserId() {
		return deleteUserId;
	}

	public void setDeleteUserId(String deleteUserId) {
		this.deleteUserId = deleteUserId;
	}
}